import React, { Component } from 'react'
import Checket from "./Checket";
import All from './All'
interface IProps{
    totalPrice:number,
    isCheck:boolean
}
export class TotalPrice extends Component<IProps> {
    render() {
        let {totalPrice,isCheck} = this.props
        return (
            <div className="total">
                <p className="all"><Checket/>全选  <All/></p>
                <p className="pay">结算<span>{`¥${totalPrice}.00`}</span></p>
            </div>
        )
    }
}

export default TotalPrice
